Pagini recente » Borderou de evaluare (job #1373944) | Borderou de evaluare (job #2753429) | Borderou de evaluare (job #262079) | Borderou de evaluare (job #253726) | Borderou de evaluare (job #1960169)
Borderou de evaluare (job #1960169)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rafturi.in","r",stdin);
^
user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rafturi.out","w",stdout);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&r,&n);
^
user.cpp:13:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;++i){scanf("%d%d",&a,&b);if(b>h[a])h[a]=b;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 352kb | OK | 10 |
5 | 0ms | 344kb | OK | 10 |
6 | 0ms | 348kb | OK | 10 |
7 | 0ms | 348kb | OK | 10 |
8 | 4ms | 352kb | OK | 10 |
9 | 4ms | 348kb | OK | 10 |
10 | 20ms | 352kb | OK | 10 |
Punctaj total | 100 |