Pagini recente » Cod sursa (job #3333461) | Cod sursa (job #3336741) | Cod sursa (job #3330601) | Borderou de evaluare (job #1595364) | Borderou de evaluare (job #2094687)
Borderou de evaluare (job #2094687)
Raport evaluator
Compilare:
user.cpp: In function ‘void Insert(int)’:
user.cpp:38:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(top < S.size())
^
user.cpp: In function ‘int main()’:
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("undo2.in", "r", stdin);
^
user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("undo2.out", "w", stdout);
^
user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:22:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &Q, &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2784kb | OK | 10 |
| 2 | 4ms | 2776kb | OK | 10 |
| 3 | 152ms | 4844kb | OK | 10 |
| 4 | 140ms | 4204kb | OK | 10 |
| 5 | 136ms | 3716kb | OK | 10 |
| 6 | 156ms | 5628kb | OK | 10 |
| 7 | 120ms | 3884kb | OK | 10 |
| 8 | 128ms | 3656kb | OK | 10 |
| 9 | 116ms | 4472kb | OK | 10 |
| 10 | 120ms | 3904kb | OK | 10 |
| Punctaj total | 100 |