Borderou de evaluare (job #2316759)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:67:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[305]' [-Wformat=]
scanf("%s", &s);
^
main.cpp:74:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[305]' [-Wformat=]
scanf("%s", &s);
^
main.cpp:62:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("sub.in", "r",stdin);
^
main.cpp:63:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out", "w",stdout);
^
main.cpp:65:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &na);
^
main.cpp:67:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
main.cpp:72:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &nb);
^
main.cpp:74:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 4ms | 655kb | OK | 10 |
3 | 11ms | 2490kb | OK | 10 |
4 | 57ms | 15073kb | OK | 10 |
5 | 200ms | 72613kb | Time limit exceeded | 0 |
6 | 201ms | 73793kb | Time limit exceeded | 0 |
7 | 201ms | 76939kb | Time limit exceeded | 0 |
8 | 201ms | 76677kb | Time limit exceeded | 0 |
9 | 200ms | 76152kb | Time limit exceeded | 0 |
10 | 203ms | 78774kb | Time limit exceeded | 0 |
Punctaj total | 40 |