Pagini recente » Cod sursa (job #2188641) | Cod sursa (job #2201017) | Borderou de evaluare (job #2752754) | Borderou de evaluare (job #1481107) | Borderou de evaluare (job #2503078)
Borderou de evaluare (job #2503078)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:44:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n",max(a,b));
^
main.cpp:7:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatie.in","r",stdin);
^
main.cpp:8:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("plantatie.out","w",stdout);
^
main.cpp:9:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:14:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&rmq[i][j][0]);
^
main.cpp:37:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&i,&j,&k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 2ms | 131kb | OK | 10 | 10 |
| 2 | 4ms | 262kb | OK | 10 | 10 |
| 3 | 5ms | 524kb | OK | 10 | 10 |
| 4 | 9ms | 1048kb | OK | 10 | 10 |
| 5 | 17ms | 1835kb | OK | 10 | 10 |
| 6 | 36ms | 2883kb | OK | 10 | 0 |
| 7 | 75ms | 5767kb | OK | 10 |
| 8 | 124ms | 9699kb | OK | 10 |
| 9 | 182ms | 12582kb | OK | 10 |
| 10 | 201ms | 12713kb | Time limit exceeded | 0 |
| Punctaj total | 50 |