Pagini recente » Borderou de evaluare (job #2864681) | Borderou de evaluare (job #3162280) | Borderou de evaluare (job #3158567) | Borderou de evaluare (job #216209) | Borderou de evaluare (job #1240579)
Borderou de evaluare (job #1240579)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sushi.in", "r", stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sushi.out", "w", stdout);
^
user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &x);
^
user.cpp:16:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(i<n)scanf("%d", &y);
^
user.cpp:30:40: warning: ‘i2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d %d\n", i1+1, i2+1, 2*ans);
^
user.cpp:30:40: warning: ‘i1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 248kb | Incorect | 0 | 0 |
2 | 0ms | 252kb | OK | 10 | 10 |
3 | 0ms | 252kb | OK | 10 | 10 |
4 | 0ms | 252kb | OK | 10 | 10 |
5 | 24ms | 248kb | OK | 10 | 30 |
6 | 240ms | 248kb | OK | 10 |
7 | 236ms | 244kb | OK | 10 |
8 | 232ms | 244kb | OK | 10 | 10 |
9 | 248ms | 252kb | OK | 10 | 10 |
10 | 256ms | 244kb | OK | 10 | 10 |
Punctaj total | 90 |