Pagini recente » Borderou de evaluare (job #1954127) | Borderou de evaluare (job #3278269) | Borderou de evaluare (job #316354) | Borderou de evaluare (job #505974) | Borderou de evaluare (job #2217942)
Borderou de evaluare (job #2217942)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
~^~~~~~~~~~~~~~
user.cpp:23:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrol.in","r",stdin);
^
user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrol.out","w",stdout);
^
user.cpp:26:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&p);
^
user.cpp:27:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&cost[i]);
^
user.cpp:30:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:37:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:39:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int j=0;j<x;j++) scanf("%d",&poli[j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 5436kb | OK | 10 |
| 2 | 0ms | 5432kb | OK | 10 |
| 3 | 4ms | 5480kb | OK | 10 |
| 4 | 8ms | 5580kb | OK | 10 |
| 5 | 8ms | 5584kb | OK | 10 |
| 6 | 16ms | 5784kb | OK | 10 |
| 7 | 48ms | 6888kb | OK | 10 |
| 8 | 52ms | 6668kb | OK | 10 |
| 9 | 64ms | 7104kb | OK | 10 |
| 10 | 60ms | 7108kb | OK | 10 |
| Punctaj total | 100 |