Pagini recente » Cod sursa (job #1189778) | Monitorul de evaluare | Cod sursa (job #2149443) | Cod sursa (job #1395643) | Borderou de evaluare (job #2081221)
Borderou de evaluare (job #2081221)
Raport evaluator
Compilare:
user.cpp: In function ‘void cerinta1()’:
user.cpp:12:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", numardepiste);
^
user.cpp: In function ‘void cerinta2()’:
user.cpp:29:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ", a);
^
user.cpp: In function ‘int main()’:
user.cpp:39:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%d \n %d %d \n %d", &v, &p, &s, &c);
^
user.cpp:39:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:39:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:43:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d \n", &a, &b);
^
user.cpp:43:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:37:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("defrag.in", "r", stdin);
^
user.cpp:38:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("defrag.out", "w", stdout);
^
user.cpp:39:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d \n %d %d \n %d", &v, &p, &s, &c);
^
user.cpp:43:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d \n", &a, &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 404kb | OK | 5 |
| 2 | Depăşit | 480kb | Time limit exceeded. | 0 |
| 3 | 0ms | 264kb | OK | 5 |
| 4 | 0ms | 268kb | OK | 5 |
| 5 | 0ms | 272kb | Incorect | 0 |
| 6 | 0ms | 312kb | Incorect | 0 |
| 7 | 0ms | 264kb | OK | 5 |
| 8 | 0ms | 272kb | Incorect | 0 |
| 9 | 0ms | 272kb | OK | 5 |
| 10 | 0ms | 268kb | Incorect | 0 |
| 11 | 0ms | 336kb | Incorect | 0 |
| 12 | 0ms | 360kb | Incorect | 0 |
| 13 | 0ms | 404kb | Incorect | 0 |
| 14 | 4ms | 440kb | Incorect | 0 |
| 15 | 4ms | 480kb | Incorect | 0 |
| 16 | 8ms | 500kb | Incorect | 0 |
| 17 | 4ms | 528kb | Incorect | 0 |
| 18 | 12ms | 536kb | Incorect | 0 |
| 19 | 0ms | 284kb | OK | 5 |
| 20 | 0ms | 280kb | OK | 5 |
| Punctaj total | 35 |