Pagini recente » Borderou de evaluare (job #1738333) | Borderou de evaluare (job #1725200) | Borderou de evaluare (job #1502761) | Borderou de evaluare (job #1953398) | Borderou de evaluare (job #1740479)
Borderou de evaluare (job #1740479)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:112:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&k);
^
user.cpp:117:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&x);
^
user.cpp:121:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:124:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&m);
^
user.cpp:131:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d\n",&a,&x.varf,&x.timp,&x.cost);
^
user.cpp: In function ‘int main()’:
user.cpp:147:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in","r",stdin);
^
user.cpp:148:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 680kb | OK | 10 |
| 2 | 12ms | 788kb | OK | 10 |
| 3 | 0ms | 676kb | OK | 10 |
| 4 | 36ms | 716kb | OK | 10 |
| 5 | 44ms | 752kb | OK | 10 |
| 6 | 52ms | 752kb | OK | 10 |
| 7 | 48ms | 720kb | OK | 10 |
| 8 | 0ms | 664kb | OK | 10 |
| 9 | 0ms | 460kb | OK | 10 |
| 10 | 4ms | 664kb | OK | 10 |
| Punctaj total | 100 |