Pagini recente » Cod sursa (job #3236488) | Cod sursa (job #2558011) | Cod sursa (job #2603278) | Cod sursa (job #506141) | Borderou de evaluare (job #1344963)
Borderou de evaluare (job #1344963)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
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 ("stramosi.in","r",stdin);
^
user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:12:43: 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",&a[i]);
^
user.cpp:14:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int j=1;j<=m;j++) {scanf("%d%d",&c,&d);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | OK! | 10 |
2 | 0ms | 476kb | OK! | 10 |
3 | 4ms | 468kb | OK! | 10 |
4 | 60ms | 512kb | OK! | 10 |
5 | 100ms | 508kb | OK! | 10 |
6 | Depăşit | 576kb | Time limit exceeded. | 0 |
7 | 96ms | 720kb | OK! | 10 |
8 | 180ms | 860kb | OK! | 10 |
9 | Depăşit | 1240kb | Time limit exceeded. | 0 |
10 | Depăşit | 1420kb | Time limit exceeded. | 0 |
Punctaj total | 70 |