Pagini recente » Cod sursa (job #2966246) | Borderou de evaluare (job #2813785) | Borderou de evaluare (job #1771535) | Borderou de evaluare (job #2796690) | Borderou de evaluare (job #2245838)
Borderou de evaluare (job #2245838)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[24]’ [-Wformat=]
scanf ("%s", &s[i]);
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("karma.in","r",stdin);
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("karma.out","w",stdout);
^
user.cpp:12:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &n, &m);
^
user.cpp:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s", &s[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 2768kb | OK! | 0 |
| 2 | 0ms | 2772kb | OK! | 0 |
| 3 | 0ms | 2772kb | OK! | 10 |
| 4 | 12ms | 2888kb | OK! | 10 |
| 5 | 324ms | 6908kb | OK! | 10 |
| 6 | 656ms | 4708kb | OK! | 10 |
| 7 | 660ms | 5668kb | OK! | 10 |
| 8 | 652ms | 4708kb | OK! | 10 |
| 9 | 656ms | 4712kb | OK! | 10 |
| 10 | 656ms | 5160kb | OK! | 10 |
| 11 | 0ms | 2768kb | OK! | 10 |
| 12 | 0ms | 2768kb | OK! | 10 |
| Punctaj total | 100 |