Pagini recente » Cod sursa (job #1969695) | Cod sursa (job #1960344) | Cod sursa (job #2541992) | Cod sursa (job #2092301) | Borderou de evaluare (job #2068644)
Borderou de evaluare (job #2068644)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d %ld\n", &cer, &n);
^
user.cpp:42:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%ld", s);
^
user.cpp:53:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%ld", s);
^
user.cpp: In function ‘int c1(int)’:
user.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:30:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre5.in", "r", stdin);
^
user.cpp:31:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre5.out", "w", stdout);
^
user.cpp:33:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %ld\n", &cer, &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 4 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 272kb | OK | 4 |
4 | 0ms | 268kb | Incorect | 0 |
5 | 0ms | 268kb | Incorect | 0 |
6 | 0ms | 276kb | Incorect | 0 |
7 | 0ms | 272kb | Incorect | 0 |
8 | 0ms | 272kb | Incorect | 0 |
9 | 0ms | 268kb | Incorect | 0 |
10 | 0ms | 272kb | Incorect | 0 |
11 | 0ms | 272kb | Incorect | 0 |
12 | 0ms | 272kb | Incorect | 0 |
13 | 0ms | 272kb | Incorect | 0 |
14 | 0ms | 268kb | Incorect | 0 |
15 | 0ms | 268kb | OK | 4 |
16 | 0ms | 272kb | Incorect | 0 |
17 | 0ms | 272kb | OK | 4 |
18 | 0ms | 268kb | Incorect | 0 |
19 | 0ms | 276kb | Incorect | 0 |
20 | 0ms | 268kb | Incorect | 0 |
21 | 0ms | 276kb | Incorect | 0 |
22 | 0ms | 272kb | Incorect | 0 |
23 | 0ms | 268kb | Incorect | 0 |
24 | 0ms | 276kb | Incorect | 0 |
25 | 0ms | 272kb | Incorect | 0 |
Punctaj total | 16 |