Pagini recente » Cod sursa (job #2000295) | Borderou de evaluare (job #1458612) | Borderou de evaluare (job #2119527) | Cod sursa (job #770596) | Borderou de evaluare (job #1347931)
Borderou de evaluare (job #1347931)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:102:23: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
while(p < len && s[p] < '0' || s[p] > '9')
^
user.cpp:68:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mine.in", "r", stdin);
^
user.cpp:69:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mine.out", "w", stdout);
^
user.cpp:71:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
user.cpp:72:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, 3, stdin);
^
user.cpp:76:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, 100, stdin);
^
user.cpp:97:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &W);
^
user.cpp:99:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, 3, stdin);
^
user.cpp:100:36: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, MAX_W * 10 - 5, stdin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 400kb | OK | 4 |
| 2 | 0ms | 428kb | OK | 4 |
| 3 | 16ms | 1268kb | OK | 4 |
| 4 | 0ms | 592kb | OK | 4 |
| 5 | 16ms | 1232kb | OK | 4 |
| 6 | 92ms | 4048kb | OK | 4 |
| 7 | 88ms | 3948kb | OK | 4 |
| 8 | 84ms | 3952kb | OK | 4 |
| 9 | Depăşit | 5972kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 6420kb | Time limit exceeded. | 0 |
| 11 | 0ms | 404kb | OK | 4 |
| 12 | 0ms | 448kb | OK | 4 |
| 13 | 8ms | 860kb | OK | 4 |
| 14 | Depăşit | 7648kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 7212kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 7424kb | Time limit exceeded. | 0 |
| 17 | 84ms | 4028kb | OK | 4 |
| 18 | Depăşit | 6144kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 7604kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 7988kb | Time limit exceeded. | 0 |
| 21 | Depăşit | 7512kb | Time limit exceeded. | 0 |
| 22 | Depăşit | 7240kb | Time limit exceeded. | 0 |
| 23 | Depăşit | 7016kb | Time limit exceeded. | 0 |
| 24 | Depăşit | 7252kb | Time limit exceeded. | 0 |
| 25 | Depăşit | 7248kb | Time limit exceeded. | 0 |
| Punctaj total | 48 |