Pagini recente » Cod sursa (job #381602) | Cod sursa (job #3280455) | Cod sursa (job #106527) | Cod sursa (job #91771) | Borderou de evaluare (job #1311741)
Borderou de evaluare (job #1311741)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:9: warning: unused variable ‘p1’ [-Wunused-variable]
int p1 = 1, p2 = 2, sp1, sp2;
^
user.cpp: In function ‘long long int maxv(int, int, int)’:
user.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘long long int minv(int, int, int)’:
user.cpp:27:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("3secv.in", "r", stdin);
^
user.cpp:34:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:37:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:73:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("3secv.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | OK | 10 |
| 2 | 0ms | 256kb | OK | 10 |
| 3 | 0ms | 260kb | OK | 10 |
| 4 | 0ms | 256kb | Incorect | 0 |
| 5 | 24ms | 1424kb | Incorect | 0 |
| 6 | 28ms | 1420kb | OK | 10 |
| 7 | 24ms | 1424kb | OK | 10 |
| 8 | 272ms | 11964kb | Incorect | 0 |
| 9 | 264ms | 11956kb | OK | 10 |
| 10 | 268ms | 11960kb | OK | 10 |
| Punctaj total | 70 |