Pagini recente » Borderou de evaluare (job #317443) | Borderou de evaluare (job #1283953) | Borderou de evaluare (job #842766) | Borderou de evaluare (job #645552) | Borderou de evaluare (job #1453636)
Borderou de evaluare (job #1453636)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f, "%d%d", &v[i].a, &v[i].b);
^
user.cpp:55:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g, "%I64d\n", suma);
^
user.cpp:57:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g, "%I64d ", v[i].nr);
^
user.cpp:39:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d%d", &n, &c, &l);
^
user.cpp:41:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &v[i].a, &v[i].b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 284kb | OK | 10 |
6 | 0ms | 288kb | OK | 10 |
7 | 0ms | 288kb | Raspuns gresit | 0 |
8 | 0ms | 284kb | Raspuns gresit | 0 |
9 | 0ms | 288kb | Raspuns gresit | 0 |
10 | 0ms | 284kb | Raspuns gresit | 0 |
Punctaj total | 60 |