Pagini recente » Cod sursa (job #2591204) | Cod sursa (job #3179453) | Cod sursa (job #517212) | Cod sursa (job #1121405) | Borderou de evaluare (job #2668049)
Borderou de evaluare (job #2668049)
Raport evaluator
Compilare:
main.cpp: In function 'void readc(T&) [with T = int]':
main.cpp:61:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v);
^
main.cpp: In function 'void readc(T&) [with T = char]':
main.cpp:66:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf(" %c", &v); // remove white space before %c if you want to include whitespaces
^
main.cpp: In function 'void readc(T&) [with T = long long int]':
main.cpp:71:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &v);
^
main.cpp: In function 'void readc(T&) [with T = float]':
main.cpp:76:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%f", &v);
^
main.cpp: In function 'void readc(T&) [with T = double]':
main.cpp:81:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf", &v);
^
main.cpp: In function 'void readc(T&) [with T = char*]':
main.cpp:91:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", str);
^
main.cpp: In function 'int main()':
main.cpp:25:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(nm ".in", "r", stdin); \
^
main.cpp:204:5: note: in expansion of macro 'PB_FILE'
PB_FILE("cmlsc");
^~~~~~~
main.cpp:204:21: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
PB_FILE("cmlsc");
^
main.cpp:214:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:217:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", a + i);
^
main.cpp:221:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", b + i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | Raspuns corect! | 10 |
2 | 2ms | 262kb | Raspuns corect! | 10 |
3 | 3ms | 131kb | Raspuns corect! | 10 |
4 | 3ms | 131kb | Killed by Signal 11 | 0 |
5 | 3ms | 131kb | Killed by Signal 11 | 0 |
6 | 4ms | 131kb | Killed by Signal 11 | 0 |
7 | 4ms | 131kb | Killed by Signal 11 | 0 |
8 | 4ms | 131kb | Killed by Signal 11 | 0 |
9 | 4ms | 131kb | Killed by Signal 11 | 0 |
10 | 3ms | 131kb | Killed by Signal 11 | 0 |
Punctaj total | 30 |