Pagini recente » Borderou de evaluare (job #2748997) | Borderou de evaluare (job #23484) | Borderou de evaluare (job #285237) | Borderou de evaluare (job #2659557) | Borderou de evaluare (job #1847710)
Borderou de evaluare (job #1847710)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:36: 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:38:36: 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:39:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:41:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].zi1,&v[i].zi2);
^
user.cpp:45:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i].zi);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 300kb | OK | 10 |
4 | 0ms | 300kb | OK | 10 |
5 | 0ms | 304kb | OK | 10 |
6 | 0ms | 312kb | OK | 10 |
7 | 4ms | 412kb | OK | 10 |
8 | 4ms | 428kb | OK | 10 |
9 | 4ms | 428kb | OK | 10 |
10 | 4ms | 404kb | OK | 10 |
Punctaj total | 100 |