Pagini recente » Borderou de evaluare (job #299929) | Borderou de evaluare (job #1893445) | Borderou de evaluare (job #478777) | Borderou de evaluare (job #1577018) | Borderou de evaluare (job #1398353)
Borderou de evaluare (job #1398353)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.in", "r", stdin);
^
user.cpp:19:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.out", "w", stdout);
^
user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d\n", &t); t; --t)
^
user.cpp:27:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n%d\n", s + 1, &nr);
^
user.cpp:35:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", cuv + 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 240ms | 760kb | OK | 100 |
Punctaj total | 100 |