Pagini recente » Borderou de evaluare (job #884777) | Borderou de evaluare (job #2794291) | Borderou de evaluare (job #1227416) | Borderou de evaluare (job #1896057) | Borderou de evaluare (job #2066052)
Borderou de evaluare (job #2066052)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[131075]’ [-Wformat=]
scanf("%s/n", &s);
^
user.cpp:34:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefixe.in", "r", stdin);
^
user.cpp:35:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefixe.out", "w", stdout);
^
user.cpp:37:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nrTeste);
^
user.cpp:40:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s/n", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1276ms | 952kb | OK | 100 |
Punctaj total | 100 |