Pagini recente » Borderou de evaluare (job #759623) | Borderou de evaluare (job #1283398) | Borderou de evaluare (job #2861026) | Borderou de evaluare (job #1085287) | Borderou de evaluare (job #2296819)
Borderou de evaluare (job #2296819)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:40:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10000005]' [-Wformat=]
scanf("%s", &text);
^
main.cpp:46:25: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[25]' [-Wformat=]
while(scanf("%s", &cuv) != EOF)
^
main.cpp:39:13: warning: unused variable 'j' [-Wunused-variable]
int n, i, j, nr = 0, m = 0;
^
main.cpp:36:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.in", "r", stdin);
^
main.cpp:37:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.out", "w", stdout);
^
main.cpp:40:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &text);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 5ms | 1703kb | Incorect | 0 | 0 |
2 | 5ms | 1703kb | Incorect | 0 |
3 | 7ms | 1835kb | Incorect | 0 |
4 | 11ms | 2097kb | OK | 10 |
5 | 30ms | 2621kb | OK | 10 |
6 | 143ms | 3801kb | OK | 10 |
7 | 539ms | 8126kb | Incorect | 0 |
8 | 900ms | 13107kb | Time limit exceeded | 0 |
9 | 903ms | 13107kb | Time limit exceeded | 0 |
10 | 900ms | 13107kb | Time limit exceeded | 0 |
Punctaj total | 0 |