Pagini recente » Borderou de evaluare (job #2414284) | Borderou de evaluare (job #716069) | Borderou de evaluare (job #205630) | Borderou de evaluare (job #1415721) | Borderou de evaluare (job #1648569)
Borderou de evaluare (job #1648569)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d", &v, &n, &k);
^
user.cpp:9:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:9:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:11:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &a[i]);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen("triunghi5.in", "r", stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triunghi5.out", "w", stdout);
^
user.cpp:9:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &v, &n, &k);
^
user.cpp:11:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | Lungimi invalide in OUTPUT | 0 |
2 | 0ms | 424kb | Corect | 5 |
3 | 0ms | 428kb | Corect | 5 |
4 | 0ms | 420kb | Corect | 5 |
5 | 0ms | 424kb | Corect | 5 |
6 | 0ms | 424kb | Corect | 5 |
7 | 0ms | 424kb | Corect | 5 |
8 | 0ms | 420kb | Lungimi invalide in OUTPUT | 0 |
9 | 0ms | 424kb | Lungimi invalide in OUTPUT | 0 |
10 | 0ms | 428kb | Corect ! | 5 |
11 | 0ms | 424kb | Corect ! | 5 |
12 | 0ms | 420kb | Corect ! | 5 |
13 | 0ms | 428kb | Corect ! | 5 |
14 | 0ms | 420kb | Lungimi invalide in OUTPUT | 0 |
15 | 0ms | 420kb | Lungimi invalide in OUTPUT | 0 |
16 | 0ms | 420kb | Lungimi invalide in OUTPUT | 0 |
17 | 0ms | 424kb | Lungimi invalide in OUTPUT | 0 |
18 | 0ms | 424kb | Lungimi invalide in OUTPUT | 0 |
19 | 0ms | 424kb | Corect ! | 5 |
20 | 0ms | 424kb | Corect ! | 5 |
Punctaj total | 60 |