Pagini recente » Borderou de evaluare (job #2218848) | Borderou de evaluare (job #3199572) | Borderou de evaluare (job #1351324) | Borderou de evaluare (job #471690) | Borderou de evaluare (job #2167525)
Borderou de evaluare (job #2167525)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:60:48: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
fprintf(fout, "%d %d\n", rez[i]-cost[i]);
^
user.cpp:31:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:34:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &cost[i]);
^
user.cpp:39:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &nr);
^
user.cpp:43:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &nod);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2324kb | OK! | 10 |
2 | 4ms | 2360kb | A doua valoare gresita! | 7 |
3 | 4ms | 2368kb | A doua valoare gresita! | 7 |
4 | 4ms | 2288kb | A doua valoare gresita! | 7 |
5 | 4ms | 2456kb | A doua valoare gresita! | 7 |
6 | 4ms | 2316kb | A doua valoare gresita! | 7 |
7 | 4ms | 2384kb | A doua valoare gresita! | 7 |
8 | 4ms | 2320kb | A doua valoare gresita! | 7 |
9 | 4ms | 2348kb | A doua valoare gresita! | 7 |
10 | 4ms | 2284kb | A doua valoare gresita! | 7 |
Punctaj total | 73 |