Borderou de evaluare (job #235639)

Utilizator avatar georgerapeanu rapeanu george alexandru georgerapeanu IP ascuns
Problemă Char (clasa a 7-a) Compilator cpp
Rundă ONI (clasa a 7-a) Status evaluat
Dată 15 apr. 2016 18:39:10 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:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:27:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:30:28: 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:21:23: /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 348 kb OK 10
2 0 ms 348 kb OK 10
3 0 ms 344 kb OK 10
4 0 ms 348 kb OK 10
5 0 ms 348 kb OK 10
6 0 ms 348 kb OK 10
7 0 ms 344 kb OK 10
8 8 ms 356 kb OK 10
9 8 ms 348 kb OK 10
10 8 ms 356 kb OK 10
Punctaj total 100