Pagini recente » Borderou de evaluare (job #1747331) | Borderou de evaluare (job #2367313) | Borderou de evaluare (job #1266894) | Borderou de evaluare (job #1114048) | Borderou de evaluare (job #2246552)
Borderou de evaluare (job #2246552)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fo,"%d ", i);
^
user.cpp:29:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fo,"%d ", v[i]);
^
user.cpp:35:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fi,"%d", &v[i]);
^
user.cpp:43:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fo,"%d ", i - 1);
^
user.cpp:10:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d", &vl);
^
user.cpp:13:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%lld", &x);
^
user.cpp:33:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d", &n);
^
user.cpp:35:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1324kb | OK | 10 |
2 | 0ms | 1320kb | OK | 10 |
3 | 0ms | 1328kb | OK | 10 |
4 | 0ms | 1324kb | OK | 10 |
5 | 0ms | 1320kb | OK | 10 |
6 | 0ms | 1324kb | OK | 10 |
7 | 0ms | 1324kb | OK | 10 |
8 | 84ms | 2100kb | OK | 10 |
9 | 88ms | 2100kb | OK | 10 |
10 | 84ms | 2100kb | OK | 10 |
Punctaj total | 100 |