Pagini recente » Borderou de evaluare (job #1962775) | Borderou de evaluare (job #707890) | Borderou de evaluare (job #2015199) | Borderou de evaluare (job #1738151) | Borderou de evaluare (job #2015191)
Borderou de evaluare (job #2015191)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d",&T,&n,&m);
^
user.cpp:13:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:13:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:16:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&timp[i],&cap[i]);
^
user.cpp:16:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:20:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&a,&b);
^
user.cpp:20:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:11: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:12: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:13:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&T,&n,&m);
^
user.cpp:16:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&timp[i],&cap[i]);
^
user.cpp:20:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | Incorect | 0 |
2 | 0ms | 452kb | Incorect | 0 |
3 | 8ms | 532kb | Incorect | 0 |
4 | 0ms | 452kb | Incorect | 0 |
5 | 8ms | 508kb | Incorect | 0 |
6 | 0ms | 464kb | Incorect | 0 |
7 | 0ms | 476kb | Incorect | 0 |
8 | 0ms | 456kb | Incorect | 0 |
9 | 0ms | 512kb | Incorect | 0 |
10 | 12ms | 532kb | Incorect | 0 |
Punctaj total | 0 |