Pagini recente » Borderou de evaluare (job #2383639) | Borderou de evaluare (job #904787) | Borderou de evaluare (job #565255) | Borderou de evaluare (job #2914052) | Borderou de evaluare (job #1592774)
Borderou de evaluare (job #1592774)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:19: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(nr==0)
^
user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("div.in", "r", stdin);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("div.out", "w", stdout);
^
user.cpp:26:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:27:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:62:47: warning: ‘minj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d", mini+1, minj+1);
^
user.cpp:25:35: warning: ‘mini’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int n, m, i, j, min=MAX*2, k, mini, minj, nr=0, l1, l2;
^
/tmp/ccY5NTgd.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 236kb | Time limit exceeded. | 0 |
2 | Depăşit | 244kb | Time limit exceeded. | 0 |
3 | Depăşit | 240kb | Time limit exceeded. | 0 |
4 | Depăşit | 236kb | Time limit exceeded. | 0 |
5 | Depăşit | 256kb | Time limit exceeded. | 0 |
6 | 0ms | 264kb | Incorect | 0 |
7 | Depăşit | 244kb | Time limit exceeded. | 0 |
8 | Depăşit | 240kb | Time limit exceeded. | 0 |
9 | 0ms | 260kb | OK | 10 |
10 | 0ms | 268kb | OK | 10 |
Punctaj total | 20 |