Pagini recente » Borderou de evaluare (job #972315) | Borderou de evaluare (job #3247561) | Borderou de evaluare (job #1551766) | Borderou de evaluare (job #1738040) | Borderou de evaluare (job #1284484)
Borderou de evaluare (job #1284484)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld %ld",&N,&M,&gr);
^
user.cpp:19:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:19:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:22:39: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld %ld", &x, &y, &c);
^
user.cpp:22:39: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:22:39: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:35:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",D[N]);
^
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("camionas.in","r",stdin);
^
user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("camionas.out","w",stdout);
^
user.cpp:19:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld",&N,&M,&gr);
^
user.cpp:22:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld", &x, &y, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Incorect | 0 |
2 | 0ms | 256kb | Incorect | 0 |
3 | 0ms | 268kb | Incorect | 0 |
4 | 0ms | 316kb | Incorect | 0 |
5 | 4ms | 360kb | Incorect | 0 |
6 | 24ms | 756kb | Incorect | 0 |
7 | 44ms | 1204kb | Incorect | 0 |
8 | 40ms | 1056kb | Incorect | 0 |
9 | 68ms | 1572kb | Incorect | 0 |
10 | 64ms | 1580kb | Incorect | 0 |
Punctaj total | 0 |