Pagini recente » Cod sursa (job #2194) | Cod sursa (job #100985) | Borderou de evaluare (job #1169154) | Monitorul de evaluare | Borderou de evaluare (job #1547165)
Borderou de evaluare (job #1547165)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d", &n);
^
user.cpp:26:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d", &p, &nod);
^
user.cpp:33:13: warning: ‘rad’ may be used uninitialized in this function [-Wmaybe-uninitialized]
a[rad]=1;
^
user.cpp:59:36: warning: ‘nrmaxrasp’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout,"%d", a[nrmaxrasp]);
^
user.cpp:50:15: warning: ‘nrmax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
a[nrmax]=1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 268kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 276kb | OK | 10 |
| 5 | 4ms | 348kb | OK | 10 |
| 6 | 16ms | 536kb | OK | 10 |
| 7 | 24ms | 656kb | OK | 10 |
| 8 | 40ms | 868kb | OK | 10 |
| 9 | 56ms | 3868kb | OK | 10 |
| 10 | 52ms | 1048kb | OK | 10 |
| Punctaj total | 100 |