Borderou de evaluare (job #1443027)

Utilizator borcanirobertBorcani Robert borcanirobert Data 26 mai 2015 17:52:12
Problema Perb Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:36:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j; ^ user.cpp:38:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( f, "%d%d\n", &N, &M ); ^ user.cpp:39:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets( a + 1, MAXN, f ); ^ user.cpp: In function ‘void Write()’: user.cpp:84:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( f, "%d%d", &x, &y ); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘void Read()’ at user.cpp:39:28: /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] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms484kbOK10
20ms536kbOK10
38ms720kbOK10
436ms592kbOK10
5112ms544kbOK10
6144ms968kbOK10
7308ms1224kbOK10
8372ms1480kbOK10
9536ms1736kbOK10
10672ms1988kbOK10
Punctaj total100

Ceva nu functioneaza?