Pagini recente » Borderou de evaluare (job #250829) | Borderou de evaluare (job #477578) | Borderou de evaluare (job #2169236) | Borderou de evaluare (job #3179563) | Borderou de evaluare (job #1726907)
Borderou de evaluare (job #1726907)
Raport evaluator
Compilare:
user.cpp: In function ‘bool isValid()’:
user.cpp:84:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < vecini[i].size(); k++)
^
user.cpp: In function ‘void citire()’:
user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:21:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &tmp1, &tmp2);
^
user.cpp:34:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &mat[i][j]);
^
user.cpp: In function ‘int main()’:
user.cpp:105:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rfinv.in", "r", stdin);
^
user.cpp:106:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rfinv.out", "w", stdout);
^
user.cpp:108:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 276kb | OK | 100 |
Punctaj total | 100 |