Pagini recente » Borderou de evaluare (job #2281882) | Borderou de evaluare (job #1480093) | Borderou de evaluare (job #1715251) | Borderou de evaluare (job #2070841) | Borderou de evaluare (job #1215112)
Borderou de evaluare (job #1215112)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&k);
^
user.cpp:25:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",rez);
^
user.cpp:27:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",vrez[i]);
^
user.cpp:10:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("partialmatch.in","r",stdin);
^
user.cpp:11:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("partialmatch.out","w",stdout);
^
user.cpp:12:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a); gets(b);
^
user.cpp:12:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a); gets(b);
^
user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&k);
^
/tmp/ccBjv9TT.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 264kb | OK | 10 | 0 |
2 | 12ms | 268kb | OK | 10 |
3 | 0ms | 312kb | OK | 10 |
4 | 0ms | 312kb | OK | 10 |
5 | 1416ms | 340kb | OK | 10 |
6 | 1460ms | 332kb | OK | 10 |
7 | 1484ms | 388kb | OK | 10 |
8 | 1604ms | 336kb | OK | 10 |
9 | Depăşit | 424kb | Time limit exceeded. | 0 |
10 | Depăşit | 376kb | Time limit exceeded. | 0 |
Penalizare 36 (pentru 72.1 minute) | -36 |
Punctaj total | 0 |