Pagini recente » Cod sursa (job #2602129) | Cod sursa (job #1506601) | Cod sursa (job #876237) | Cod sursa (job #765202) | Borderou de evaluare (job #1536326)
Borderou de evaluare (job #1536326)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44: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:45: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:47:32: 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:49:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &pay[i]);
^
user.cpp:51:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp:58:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:59:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (j = 1; j <= k; j++) scanf("%d", &way[j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 500kb | OK | 10 |
| 2 | 0ms | 512kb | OK | 10 |
| 3 | 8ms | 780kb | OK | 10 |
| 4 | 16ms | 1572kb | OK | 10 |
| 5 | 16ms | 1572kb | OK | 10 |
| 6 | 52ms | 3416kb | OK | 10 |
| 7 | 344ms | 13836kb | OK | 10 |
| 8 | 280ms | 11368kb | OK | 10 |
| 9 | 372ms | 14320kb | OK | 10 |
| 10 | 372ms | 14316kb | OK | 10 |
| Punctaj total | 100 |