Pagini recente » Borderou de evaluare (job #760534) | Cod sursa (job #803418) | Borderou de evaluare (job #1215183) | Borderou de evaluare (job #3143197) | Borderou de evaluare (job #2531232)
Borderou de evaluare (job #2531232)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:57:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < G[x].size() ; j ++)
~~^~~~~~~~~~~~~
main.cpp:17:41: warning: unused variable 'smin' [-Wunused-variable]
int n , i , j , lvl , x , y , sum , smin;
^~~~
main.cpp:15:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("suma4.in" , "r" , stdin);
^
main.cpp:16:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("suma4.out" , "w" , stdout);
^
main.cpp:18:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n);
^
main.cpp:23:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd" , &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 6ms | 1703kb | OK | 10 |
| 2 | 7ms | 1703kb | OK | 10 |
| 3 | 8ms | 1835kb | OK | 10 |
| 4 | 13ms | 2097kb | OK | 10 |
| 5 | 35ms | 3276kb | OK | 10 |
| 6 | 42ms | 3538kb | OK | 10 |
| 7 | 47ms | 3801kb | OK | 10 |
| 8 | 53ms | 4063kb | OK | 10 |
| 9 | 55ms | 4194kb | OK | 10 |
| 10 | 5ms | 1703kb | OK | 10 |
| Punctaj total | 100 |