Pagini recente » Borderou de evaluare (job #1612104) | Borderou de evaluare (job #1874194) | Borderou de evaluare (job #2555452) | Borderou de evaluare (job #1492459) | Borderou de evaluare (job #2231570)
Borderou de evaluare (job #2231570)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d %d",&story[i].d,&story[i].c);
^
user.cpp:20:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
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("zmeu2.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("zmeu2.out","w",stdout);
^
user.cpp:17:31: 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:20:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&story[i].d,&story[i].c);
^
user.cpp:25:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&d,&c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1328kb | OK | 10 |
| 2 | 0ms | 1324kb | OK | 10 |
| 3 | 16ms | 1544kb | OK | 10 |
| 4 | 16ms | 1804kb | OK | 10 |
| 5 | 8ms | 1324kb | OK | 10 |
| 6 | 0ms | 1324kb | OK | 10 |
| 7 | 0ms | 1332kb | OK | 10 |
| 8 | 0ms | 1324kb | Incorect | 0 |
| 9 | 4ms | 1452kb | OK | 10 |
| 10 | 16ms | 1448kb | OK | 10 |
| Punctaj total | 90 |