Pagini recente » Borderou de evaluare (job #2301975) | Borderou de evaluare (job #534423)
Borderou de evaluare (job #534423)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:13:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d",&t[i],&c[i]);
^
user.cpp:13:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:11:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d %d %d",&n,&p,&k);
^
user.cpp:13:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&t[i],&c[i]);
^
user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d %d",&x,&y);
^
user.cpp: In function ‘int main()’:
user.cpp:56:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen("zmeu2.in","r",stdin);
^
user.cpp:57:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 288kb | OK | 10 |
| 2 | 0ms | 288kb | Incorect | 0 |
| 3 | 20ms | 892kb | OK | 10 |
| 4 | 4ms | 900kb | OK | 10 |
| 5 | 16ms | 620kb | Incorect | 0 |
| 6 | 0ms | 300kb | OK | 10 |
| 7 | 0ms | 332kb | OK | 10 |
| 8 | 0ms | 284kb | Incorect | 0 |
| 9 | 4ms | 628kb | OK | 10 |
| 10 | 36ms | 856kb | OK | 10 |
| Punctaj total | 70 |