Pagini recente » Borderou de evaluare (job #1689636) | Borderou de evaluare (job #1976368) | Borderou de evaluare (job #337387) | Borderou de evaluare (job #2816562) | Borderou de evaluare (job #1646193)
Borderou de evaluare (job #1646193)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("garaj.in","r",stdin);
^
user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("garaj.out","w",stdout);
^
user.cpp:17: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:20:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].c,&v[i].t);
^
user.cpp:44:27: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d",2*k,i-1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 272kb | Incorect | 0 |
5 | 60ms | 1312kb | Incorect | 0 |
6 | 0ms | 260kb | Incorect | 0 |
7 | 64ms | 1412kb | Incorect | 0 |
8 | 64ms | 1428kb | Incorect | 0 |
9 | 68ms | 1432kb | Incorect | 0 |
10 | 64ms | 1420kb | Incorect | 0 |
Punctaj total | 30 |