Pagini recente » Borderou de evaluare (job #2495046) | Borderou de evaluare (job #602671) | Borderou de evaluare (job #324108) | Borderou de evaluare (job #691946) | Borderou de evaluare (job #1199476)
Borderou de evaluare (job #1199476)
Raport evaluator
Compilare:
user.cpp: In function ‘void getxy(int&, int&)’:
user.cpp:13:25: warning: NULL used in arithmetic [-Wpointer-arith]
for(i = 0; ln[i] != NULL; ++ i)
^
user.cpp:18:20: warning: NULL used in arithmetic [-Wpointer-arith]
for(; ln[i] != NULL; ++ i)
^
user.cpp:11:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ln);
^
user.cpp: In function ‘int main()’:
user.cpp:68:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ograzi.in", "r", stdin);
^
user.cpp:69:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ograzi.out", "w", stdout);
^
user.cpp:72:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d\n", &nOgr, &nOi, &height, &width);
^
/tmp/ccJF32bF.o: In function `getxy(int&, int&)':
user.cpp:(.text+0x61): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 8160kb | Killed by signal 6(SIGABRT). | 0 |
2 | 88ms | 9228kb | Killed by signal 6(SIGABRT). | 0 |
3 | 40ms | 9256kb | Killed by signal 6(SIGABRT). | 0 |
4 | 96ms | 9248kb | Killed by signal 6(SIGABRT). | 0 |
5 | 92ms | 9256kb | OK | 10 |
6 | Depăşit | 9196kb | Time limit exceeded. | 0 |
7 | 84ms | 8744kb | Incorect | 0 |
8 | 32ms | 8744kb | OK | 10 |
9 | 12ms | 8092kb | OK | 10 |
10 | 44ms | 8092kb | OK | 10 |
Punctaj total | 40 |