Pagini recente » Borderou de evaluare (job #742791) | Borderou de evaluare (job #1474728) | Borderou de evaluare (job #2193257) | Borderou de evaluare (job #1127124) | Borderou de evaluare (job #1344005)
Borderou de evaluare (job #1344005)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("motel.in","r",stdin);
^
user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("motel.out","w",stdout);
^
user.cpp:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:24:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a[i].p1,&a[i].p2);
^
user.cpp:28:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 312kb | OK | 10 |
6 | 0ms | 384kb | OK | 10 |
7 | 44ms | 436kb | Raspuns gresit | 0 |
8 | 60ms | 444kb | Raspuns gresit | 0 |
9 | 80ms | 440kb | Raspuns gresit | 0 |
10 | 24ms | 340kb | OK | 10 |
Punctaj total | 70 |