Borderou de evaluare (job #343517)

Utilizator avatar georgerapeanu rapeanu george alexandru georgerapeanu IP ascuns
Problemă Dvorak (clasa a 10-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 25 ian. 2018 16:51:02 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:21:21: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:22:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:27:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:30:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:36:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.6/cstdio:44, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:22:26: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 244 kb OK 10
2 0 ms 248 kb OK 10
3 0 ms 244 kb OK 10
4 0 ms 248 kb OK 10
5 0 ms 248 kb OK 10
6 0 ms 252 kb OK 10
7 0 ms 252 kb OK 10
8 0 ms 252 kb OK 10
9 0 ms 256 kb OK 10
10 0 ms 248 kb OK 10
Punctaj total 100